import App from './App'
import Vue from 'vue'
import './uni.promisify.adaptor'
import store from './store'
import tools from 'utils/tools.js'
import './utils/init'

import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn'
dayjs.locale('zh-cn')
Vue.prototype.$dayjs = dayjs

Vue.config.productionTip = false
App.mpType = 'app'

Vue.prototype.$tools = tools

const app = new Vue({
  store,
  ...App
})
app.$mount()